<template>
  <div id="app" style="width: 100%; overflow-x:hidden; position: relative;" :style="{minHeight: $store.state.bodyHeiht}">
    <transition name="fade" mode="out-in" :duration="{ enter: 330, leave: 20 }">
      <router-view></router-view>
    </transition>
  </div>
</template>

<script>
  export default {
    name: 'app'
  }
</script>


<style lang="less">
  @import '~vux/src/styles/reset.less';
  @import './styles/style.css';
  @import '../static/fonts/iconfont.css';
  @import '~vux/src/styles/1px.less';
  body {
    background-color: #f3f4f5;
    color: #666;
    font-size: 0.28rem;
    font-weight: 300;
  }

  a{
    color: #666;
  }
  a.router-link-exact-active{
    color: #fc9153;
  }
  .router-view {
    width: 100%;
    top: 0rem;
  }
  .fade-enter-active, .fade-leave-active {
    transition: opacity .5s
  }
  .fade-enter, .fade-leave-to /* .fade-leave-active 在 <2.1.8 中 */ {
    opacity: 0
  }
</style>
